package com.darkplanet.management.dao;

import com.darkplanet.management.domain.Employee;

import java.util.Date;
import java.util.List;

public interface IEmployeeDao {
    Employee getEmployeeById(Integer id);

    List<Employee> getEmployees();

    void addEmployee(String position, String e_name, String gender, Integer age, String phone, String work_date, String id_card, String remark);

    void deleteEmployeeById(Integer id);

    void updateEmployeeById(String position, String e_name, String gender, Integer age, String phone, String work_date, String id_card, String remark,Integer id);

    void updateEmployeePwd(String pwd,Integer id);

    Employee getEmployeeBYNamePwd(String e_name,String e_pwd);
}
